package cn.catsdad.dto;

import cn.catsdad.entity.Dict;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.ArrayList;
import java.util.List;

/**
 * 常量dto实体
 *
 * @author xuyonglong
 * @version V1.0 2023/4/24
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "tb_system_dict")
public class DictDTO extends Dict {

    /**
     * 明细数据
     */
    @Transient
    private List<DictDetailDTO> detailList = new ArrayList<>();

}
